<admintpl file="header" />

</head>

<body>

<div class="wrap">

    <ul class="nav nav-tabs">

        <li><a href="{:U('index')}">会员卡列表</a></li>

        <li class="active"><a href="#B">新增会员卡</a></li>

    </ul>

    <form method="post" class="form-horizontal js-ajax-form" action="{:U('Setting/add')}">

        <fieldset>

            <div class="control-group">

                <label class="control-label">级别名称</label>

                <div class="controls">

                    <input type="text" name="cardname">

                </div>

            </div>

            <div class="control-group">

                <label class="control-label">销售价格</label>

                <div class="controls">

                    <input type="number" name="sellprice">

                </div>

            </div>

            <div class="control-group">

                <label class="control-label">有效期</label>

                <div class="controls">

                    <input type="number" name="usetime" style="width:135px;">
                    <select name="usedanwei" style="width:66px;">
                        <option value="-1">永久</option>
                        <option value="t">天</option>
                        <option value="y">月</option>
                        <option value="n">年</option>
                    </select>

                </div>


            </div>

            <div class="control-group">

                <label class="control-label">初始价格</label>

                <div class="controls">

                    <input type="number" name="initprice">

                </div>

            </div>

            <div class="control-group">

                <label class="control-label">备注</label>

                <div class="controls">

                    <input type="text" name="remark">

                </div>

            </div>

        </fieldset>

        <div class="form-actions">

            <button type="submit" class="btn btn-primary js-ajax-submit">添加</button>

            <a class="btn" href="{:U('index')}">返回</a>

        </div>

    </form>

</div>

<script src="__PUBLIC__/js/common.js"></script>

</body>

</html>